function t_lazyload_update(){"undefined"!=typeof lazyload_cover&&lazyload_cover.update(),"undefined"!=typeof lazyload_img&&lazyload_img.update(),"undefined"!=typeof lazyload_bgimg&&lazyload_bgimg.update(),"undefined"!=typeof lazyload_iframe&&lazyload_iframe.update()}function t_lazyload_getResizeUrl(e,t,i,o,n,a,l,r){if("undefined"==i||null==i)return i;if(i.indexOf(".svg")>0||i.indexOf(".gif")>0||i.indexOf(".ico")>0||-1===i.indexOf("static.tildacdn.com")||i.indexOf("-/empty/")>0||i.indexOf("-/resizeb/")>0)return i;if(i.indexOf("/-/")>-1)return i;if(0==o&&0==n)return i;if("y"==window.lazy_err)return i;if(i.indexOf("lib")>-1)return i;if("IMG"!=e&&"DIV"!=e&&"TD"!=e&&"A"!=e)return i;if(window.devicePixelRatio>1&&window.t_lazyload_domloaded<2500&&(o>0&&(o=parseInt(2*o)),n>0&&(n=parseInt(2*n))),o>1e3||n>1800){var s=t_lazyload_getWebPUrl(i);return s}if("resize"==t){var d=i.split("/");d.splice(i.split("/").length-1,0,"-/resize/"+o+"x"+("DIV"==e&&n>0?n:"")+"/"+("y"==window.lazy_webp?"-/format/webp":""));s=d.join("/").replace("/static.tildacdn.com","/thumb.tildacdn.com")}else{if(!(o>0&&n>0))return i;"left"==a||"right"==a||(a="center"),"top"==l||"bottom"==l||(l="center");d=i.split("/");d.splice(i.split("/").length-1,0,"-/"+t+"/"+o+"x"+n+"/"+a+"/"+l+"/"+("y"==window.lazy_webp?"-/format/webp":""));s=d.join("/").replace("/static.tildacdn.com","/thumb.tildacdn.com")}return s}function t_lazyload_round(e,t,i,o){if("cover"==e&&t>0&&i>0){var n=t/i,a=1;n<=1?(n<=.8&&(a=.8),n<=.751&&(a=.75),n<=.667&&(a=.667),n<=.563&&(a=.562),n<=.501&&(a=.5),i=Math.ceil(i/o)*o,t=Math.ceil(i*a),t=10*Math.ceil(t/10)):(n>=1.25&&(a=1.25),n>=1.332&&(a=1.333),n>=1.5&&(a=1.5),n>=1.777&&(a=1.777),n>=2&&(a=2),t=Math.ceil(t/o)*o,i=Math.ceil(t/a),i=10*Math.ceil(i/10))}else t>0&&(t=Math.ceil(t/o)*o),i>0&&(i=Math.ceil(i/o)*o);return[t,i]}function t_lazyload_reloadonError(e,t){if(void 0!==t&&null!=t&&""!=t&&-1!==t.indexOf("https://thumb.tildacdn.com")&&-1!==t.indexOf("/-/")){var i=t.split("/"),o="",n="";if(i.length>3)for(var a=0;a0||e.indexOf(".gif")>0||e.indexOf(".ico")>0||-1===e.indexOf("static.tildacdn.com")||e.indexOf("-/empty/")>0||e.indexOf("-/resizeb/")>0)return e;if(e.indexOf("/-/")>-1)return e;if(e.indexOf("lib")>-1)return e;if("y"!=window.lazy_webp)return e;if("y"==window.lazy_err)return e;var t=e.split("/");t.splice(e.split("/").length-1,0,"-/format/webp");var i=t.join("/").replace("/static.tilda","/thumb.tilda");return i}function t_lazyload_onWindowResize(){$(".t-cover__carrier, .t-bgimg, .t-img").each(function(){window.t_lazyload_updateResize_elem($(this))})}function t_lazyload_detectwebp(){var e=new Image;e.onload=e.onerror=function(){2!=e.height?console.log("no webp support"):window.lazy_webp="y"},e.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"}var lzld="21101150";(function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.LazyLoad=t()})(this,function(){function e(){g||(u={elements_selector:"img",container:window,threshold:300,throttle:50,data_src:"original",data_srcset:"original-set",class_loading:"loading",class_loaded:"loaded",skip_invisible:!0,show_while_loading:!0,callback_load:null,callback_error:null,callback_set:null,callback_processed:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},f=!!window.addEventListener,_=!!window.attachEvent,h=!!document.body.classList,g=!0)}function t(e,t,i){var o;f?e.addEventListener(t,i):_&&(e.attachEvent("on"+t,(o=e,function(){i.call(o,window.event)})),e=null)}function i(e,t,i){f?e.removeEventListener(t,i):_&&e.detachEvent("on"+t,i)}function o(e,t,i){function o(){return window.innerWidth||x.documentElement.clientWidth||document.body.clientWidth}function n(){return window.innerHeight||x.documentElement.clientHeight||document.body.clientHeight}function a(e){return e.getBoundingClientRect().top+u-x.documentElement.clientTop}function l(e){return e.getBoundingClientRect().left+f-x.documentElement.clientLeft}function r(){var o;return o=t===window?n()+u:a(t)+t.offsetHeight,o<=a(e)-i}function s(){var n;return n=t===window?o()+window.pageXOffset:l(t)+o(),n<=l(e)-i}function d(){var o;return o=t===window?u:a(t),o>=a(e)+i+e.offsetHeight}function c(){var o;return o=t===window?f:l(t),o>=l(e)+i+e.offsetWidth}var x,u,f;return x=e.ownerDocument,u=window.pageYOffset||x.body.scrollTop,f=window.pageXOffset||x.body.scrollLeft,"fixed"===e.getAttribute("data-content-cover-parallax")&&e.closest&&e.closest(".t-cover__container")&&(e=e.closest(".t-cover__container")),!(r()||d()||s()||c())}function n(){var e=new Date;return e.getTime()}function a(e,t){var i,o={};for(i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);for(i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);return o}function l(e){try{return Array.prototype.slice.call(e)}catch(n){var t,i=[],o=e.length;for(t=0;t-1&&(h=1*y[w].split(":")[1]),y[w].indexOf("comm:")>-1&&(f=y[w].split(":")[1],"resize"!=f&&"cover"!=f&&"contain"!=f&&(g=!1)),y[w].indexOf("skip")>-1&&(p=!0),y[w].indexOf("optimoff")>-1&&(g=!1)}if(h>1){m=t_lazyload_round(f,a,l,h);a=m[0],l=m[1]}if("cover"==f&&a>0&&l>0&&a<=1e3)if(a===5*Math.ceil(a/5)&&l===5*Math.ceil(l/5));else if(["200x151","640x712","320x356","670x744","335x372","300x225","500x375","400x301","748x832","374x416","670x502","335x251","360x234","560x622","280x311","640x416"].indexOf(a+"x"+l)>-1);else if(["353x245","155x151","158x164","372x495","280x272","117x117","291x280","280x269","335x241","283x283","150x156","353x233","414x730","372x362","275x206","290x322","248x207","177x136","173x173","280x308","195x214","248x191","155x196","163x203","320x444","158x162","176x203","412x700","360x88","360x616","167x167","130x144","280x233","560x314","320x299","372x275","320x178","372x242","360x352","353x294","260x182","372x310","335x344","374x432","414x500","374x360","220x338","150x146","335x239","176x176","320x302","374x260","360x568","191x221","192x192","372x558","335x188","320x358","335x258","374x575","26x26","353x360","360x206","335x248","335x322","167x256","560x364","155x172","163x216","163x181","360x257","374x561","374x243","220x212","177x148","291x324","167x160","375x749","335x387","172x172","260x302","414x700","220x254","177x172","374x519","176x169","320x352","335x233","150x203","360x207","158x121","360x396","158x131","150x98","220x169","182x202","320x179","372x413","181x226","353x200","158x153","375x628","176x271","374x364","320x492","374x247","414x833","353x393","335x218","560x399","412x264","293x164","56x56","177x204","248x382","181x181","118x118","260x346","374x497","260x202","393x251","158x158","372x200","373x414","320x229","177x177","312x175","374x312","84x84","320x329","177x194","353x350","335x503","335x446","335x326","374x200","158x182","320x237","335x221","176x196","150x229","320x224","248x276","360x299","260x289","196x216","335x279","177x272","320x426","260x172","155x194","320x369","372x350","360x302","360x402","169x186","158x242","173x199","167x185","360x238","220x123","320x308","414x265","374x350","300x333","177x170","320x222","320x311","260x169","150x173","320x246","353x265","192x222","158x151","372x414","150x144","760x502","314x176","320x208","182x182","320x211","163x163","372x279","360x202","360x252","260x252","260x286","353x392","160x104","374x281","353x353","150x231","320x267","372x372","177x197","275x154","158x175","374x374","150x167","260x146"].indexOf(a+"x"+l)>-1);else if(r.hasClass("tn-atom")||r.hasClass("tn-atom__img"));else{r.hasClass("t-cover__carrier")||(f="resize");m=t_lazyload_round(f,a,l,100);a=m[0],l=m[1]}!0===g&&(n=!0===p||a>1e3||l>1e3||0==a||"IMG"!=t.tagName&&0==l?t_lazyload_getWebPUrl(n):t_lazyload_getResizeUrl(t.tagName,f,n,a,l,d,c,x)),"IMG"!==e.tagName&&"IFRAME"!==e.tagName?e.style.backgroundImage="url("+n+")":n&&e.setAttribute("src",n)}}function c(e,t){return function(){return e.apply(t,arguments)}}function x(i){e(),this._settings=a(u,i),this._queryOriginNode=this._settings.container===window?document:this._settings.container,this._previousLoopTime=0,this._loopTimeout=null,this._handleScrollFn=c(this.handleScroll,this),t(window,"resize",this._handleScrollFn),this.update(),this.loadAnimatedImages()}var u,f,_,h,g=!1;return x.prototype._showOnLoad=function(e){function o(){null!==a&&(a.callback_load&&a.callback_load(e),d(e,e,a.data_srcset,a.data_src),a.callback_set&&a.callback_set(e),s(e,a.class_loading),r(e,a.class_loaded),i(n,"load",o))}var n,a=this._settings;e.getAttribute("src")||e.setAttribute("src",a.placeholder),n=document.createElement("img"),t(n,"load",o),t(n,"error",function(t){s(e,a.class_loading),a.callback_error&&a.callback_error(e),window.lazy_err="y",console.log("lazy loading err"),void 0!==t.path?t_lazyload_reloadonError(e,t.path[0].currentSrc):void 0!==t.target&&t_lazyload_reloadonError(e,t.target.currentSrc)}),r(e,a.class_loading),Date.now(),d(n,e,a.data_srcset,a.data_src)},x.prototype._showOnAppear=function(e){function o(){null!==n&&(n.callback_load&&n.callback_load(e),s(e,n.class_loading),r(e,n.class_loaded),i(e,"load",o))}var n=this._settings;"IMG"!==e.tagName&&"IFRAME"!==e.tagName||(t(e,"load",o),t(e,"error",function(t){i(e,"load",o),s(e,n.class_loading),n.callback_error&&n.callback_error(e),window.lazy_err="y",console.log("lazy loading err"),void 0!==t.path?t_lazyload_reloadonError(e,t.path[0].currentSrc):void 0!==t.target&&t_lazyload_reloadonError(e,t.target.currentSrc)}),r(e,n.class_loading)),startTime=Date.now(),d(e,e,n.data_srcset,n.data_src),n.callback_set&&n.callback_set(e)},x.prototype._loopThroughElements=function(){var e,t,i=this._settings,n=this._elements,a=n?n.length:0,l=[];for(e=0;e0;)n.splice(l.pop(),1),i.callback_processed&&i.callback_processed(n.length);0===a&&this._stopScrollHandler()},x.prototype._purgeElements=function(){var e,t,i=this._elements,o=i.length,n=[];for(e=0;e0;)i.splice(n.pop(),1)},x.prototype._startScrollHandler=function(){this._isHandlingScroll||(this._isHandlingScroll=!0,t(this._settings.container,"scroll",this._handleScrollFn))},x.prototype._stopScrollHandler=function(){this._isHandlingScroll&&(this._isHandlingScroll=!1,i(this._settings.container,"scroll",this._handleScrollFn))},x.prototype.loadAnimatedImages=function(){function e(e,t){var i;if("trigger"===t){var o=e.attr("data-animate-sbs-trgels");i=$('[data-elem-id="'+o+'"]')}else"viewport"===t&&(i=e.parents(".t396"));return i?i.offset():null}function t(t,i){var o=e(t,i);if(!o)return!1;var a=Math.abs(o.top-t.offset().top),l=Math.abs(o.left-t.offset().left);return a>n.threshold||l>n.threshold}var i,o,n=this._settings,a=this._elements,l=a?a.length:0,r=[];for(i=0;i0;)a.splice(r.pop(),1),n.callback_processed&&n.callback_processed(a.length)},x.prototype.handleScroll=function(){var e,t,i;this._settings&&(t=n(),i=this._settings.throttle,0!==i?(e=i-(t-this._previousLoopTime),e<=0||e>i?(this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._previousLoopTime=t,this._loopThroughElements()):this._loopTimeout||(this._loopTimeout=setTimeout(c(function(){this._previousLoopTime=n(),this._loopTimeout=null,this._loopThroughElements()},this),e))):this._loopThroughElements())},x.prototype.update=function(){this._elements=l(this._queryOriginNode.querySelectorAll(this._settings.elements_selector)),this._purgeElements(),this._loopThroughElements(),this._startScrollHandler()},x.prototype.destroy=function(){i(window,"resize",this._handleScrollFn),this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._stopScrollHandler(),this._elements=null,this._queryOriginNode=null,this._settings=null},x}),window.lazy="y",$(document).ready(function(){t_lazyload_detectwebp(),$("#allrecords").length&&"yes"==$("#allrecords").attr("data-tilda-imgoptimoff")?window.lazy_imgoptimoff="yes":window.lazy_imgoptimoff="",$(".t156").find(".t-img").attr("data-lazy-rule","skip"),$(".t492,.t552,.t251,.t603,.t660,.t661,.t662,.t680,.t827,.t909,.t218,.t740,.t132,.t694,.t762,.t786,.t546").find(".t-bgimg").attr("data-lazy-rule","comm:resize,round:100"),setTimeout(function(){lazyload_cover=new LazyLoad({elements_selector:".t-cover__carrier",show_while_loading:!1,data_src:"content-cover-bg",placeholder:"",threshold:700})},100),setTimeout(function(){lazyload_img=new LazyLoad({elements_selector:".t-img",threshold:800}),lazyload_bgimg=new LazyLoad({elements_selector:".t-bgimg",show_while_loading:!1,placeholder:"",threshold:800}),lazyload_iframe=new LazyLoad({elements_selector:".t-iframe"}),$(document).bind("slide.bs.carousel",function(e){setTimeout(function(){lazyload_cover.update(),lazyload_img.update(),lazyload_bgimg.update()},500)}),window.isMobile&&($("body").append("
"),setTimeout(function(){$(".t-mbfix").addClass("t-mbfix_hide")},50),setTimeout(function(){$(".t-mbfix").remove()},1e3))},500),"yes"!=window.lazy_imgoptimoff&&$(window).bind("resize",t_throttle(function(){clearTimeout(window.t_lazyload_resize_timerid),window.t_lazyload_resize_timerid=setTimeout(t_lazyload_onWindowResize,1e3)},500)),setTimeout(function(){void 0!==window.performance&&(window.t_lazyload_domloaded=1*window.performance.timing.domContentLoadedEventEnd-1*window.performance.timing.navigationStart)},0)}),window.t_lazyload_updateResize_elem=function(e){if(0!=e.length){var t=e.get(0),i=t.tagName;if("IMG"==i)var o=e.attr("src"),n="-/resize/";else{o=e.css("background-image").replace("url(","").replace(")","").replace(/\"/gi,"");var a=e.css("background-size");if("contain"==a)n="-/contain/";else n="-/cover/"}if(!(void 0===o||-1===o.indexOf(n)||o.indexOf(".svg")>0||o.indexOf(".gif")>0||o.indexOf(".ico")>0||-1===o.indexOf("thumb.tildacdn.com")||o.indexOf("-/empty/")>0&&o.indexOf("-/resizeb/")>0)){var l=o.indexOf(n)+n.length,r=o.indexOf("/",l);if(l>0&&r>0){var s=o.slice(l,r),d=s.split("x"),c=t.clientWidth,x=t.clientHeight;if(c>0&&x>0&&(d[0]>0||d[1]>0)&&(d[0]>0&&c>d[0]||d[1]>0&&x>d[1])&&(d[0]>0&&c-d[0]>100||d[1]>0&&x-d[1]>100)){var u=o.slice(0,l)+(d[0]>0?c:"")+"x"+(d[1]>0?x:"")+o.substring(r);"IMG"==i?e.attr("src",u):e.css("background-image","url("+u+")")}}}}};